package cq.zhcqk.util;

import android.os.Environment;

/**
 * Created by zhangle on 2017/11/25.
 */
public class Common {
    public static String URL = "http://hmcqk.com:443";
//    public static String URL = "http://106.14.202.180";
//    public static String URL = "http://www.hmcqk.com";

    public static String PAGE_SIZE = "15";

    public static String FILE_PAGE_PATH = Environment.getExternalStorageDirectory().getPath() +"/DCIM/Camera/"+ "start_page.png";

    //type 1:资讯，2:古镇游览，3:街道简介，4:公告公示,5:微党课,6:党员之家,7:政务公开,
    // 8:社区概况,9:社情民意,10:志愿服务,11:党规党章,12:系列讲话,13:国学经典,14...

    //新闻列表展示类型 0:图片+文字 1: banner 2: 文字 3:大图

    public static String FEEDBACK = "/api/feedback/add";//验证码
    public static String GET_CODE = "/api/systaff/regcode";//验证码
    public static String REGISTER = "/api/systaff/register";//注册
    public static String REST = "/api/systaff/rest";//注册
    public static String LOGIN = "/api/systaff/newlogin";//登录
    public static String NEWS_LIST = "/api/news/list";//新闻列表
    public static String NEWS_BANNER = "/api/news/list/banner";//banner
    public static String NEWS_DETAIL= "/api/news/open";//新闻详情
    public static String NEWS_TOPS= "/api/news/list/tops";//获取前三条热点新闻
    public static String NEWS_DIC= "/api/news/adddic";//评论
    public static String NEWS_DCT= "/api/news/addct";//收藏
    public static String NEWS_DCTLIST= "/api/news/getdic";//获取评论信息
    public static String ADD= "/api/dicen/add";//志愿服务

    public static String NEWS_DEPTTREE= "/api/party/depttree";//机构组织
    public static String PARTYSTUDY= "/api/party/partystudy";//党员学习情况详情
    public static String NEWS_DOSTUDY= "/api/party/dostudy";//党员学习记录保存
    public static String NEWS_GETPERSON= "/api/party/getperson";//获取某部门下的党员
    public static String STUDYLIST= "/api/party/studylist";//党员学习情况列表
    public static String IDCARDINFO= "/api/party/idcardinfo";//身份证号 查询

    public static String ONE= "/api/news/one";//社区详情


    public static String SUGGESTION= "/api/relation/suggestion";//意见建议接口
    public static String SAVESUGGESTION= "/api/relation/saveSuggestion";//意见建议接口
    public static String SUGGESTIONDETAIL = "/api/relation/suggestionDetail";//意见建议详情

    public static String STORELIST= "/api/systaff/storelist";//收藏列表
    public static String STORENUM= "/api/news/storenum";//收藏数量
    public static String ISCOLLECT= "/api/news/iscollect";//是否收藏

    public static String CREATE= "/api/pay/create";//支付宝支付
    public static String WXPREPAY= "/api/pay/wxPrePay";//微信支付
    public static String YEARPAY= "/api/party/yearpay";//查询某一年的未缴纳

    public static String SETNAME= "/api/systaff/setname";//设置昵称

    public static String RECORD= "/api/install/record";//安装统计

    public static String TOURISM= "/api/tourism/list";//获取古镇旅游景点、

    public static String CANDO= "/api/relation/cando";//是否开启捐款
    public static String DICDONATION= "/api/relation/dicdonation";//爱心驿站捐款
    public static String DICDONATIONDETAIL= "/api/relation/dicdonationdetail";//爱心驿站详情

    public static String DISHESLIST= "/api/relation/h5list";//爱心食堂列表
    public static String DISHESORDER= "/api/relation/dishesorder";//爱心食堂支付
    public static String LOCATION= "/api/relation/location";//爱心食堂地址
    public static String PAYEDDISHES= "/api/relation/payeddishes";//爱心食堂列表
    public static String DOCONSUME= "/api/relation/doConsume";//爱心食堂确认消费

    public static String START= "/api/start/page";//启动页广告
    public static String DICANSWER= "/api/dicanswer/list";//问卷调查
    public static String UPLOAD= "/common/sysFile/upload";//文件上传
    public static String UPLOAD1= "/api/common/upload";//文件上传
    public static String WORKINFO= "/api/work/workinfo";//获取业务办理详情页面
    public static String WORKLIST= "/api/work/list";//获取业务办理详情页面
}
